cmake_minimum_required(VERSION 3.17)

Set (Lua_Version "_5.4.3")

SET(SOURCES
        main.cpp)

SET(LIBS "Lua${Lua_Version}_Static")

INCLUDE_DIRECTORIES(Lua)

ADD_SUBDIRECTORY(Lua)

add_executable(lua_embed ${SOURCES})

TARGET_LINK_LIBRARIES(lua_embed ${LIBS})